<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="/tld/sitemesh-decorator.tld" prefix="decorator"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta http-equiv="Cache-Control" content="no-store" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<link href="<c:url value='/css/reset-fonts-grids.css'/>" type="text/css" rel="stylesheet">
		<link href="<c:url value='/css/base.css'/>" type="text/css" rel="stylesheet">
		<script src="<c:url value='/js/base.js'/>" type="text/javascript"></script>
		<title><decorator:title default="控制台" /></title>
		<style>
#yui-main .yui-b {
	text-align:left;
    min-height:550px;
    /* sets min-height for IE */
    _height:expression(this.scrollHeight < 580 ? "580px" : "auto");
	min-width:650px;
	/* sets min-width for IE */
	_width:expression(this.clientWidth < 650 ? "650px" : "auto");
	overflow-x:auto;
	overflow-y:hidden;
}

.yui-t4 #yui-main {
	margin-left:-14.8456em;
	margin-right:-12.3077em;
}
.yui-t4 #yui-main .yui-b {
	margin-left:15.8456em;
	margin-right:12.3077em;
}
.yui-t4 .yui-bl {
	float:left;
}

.yui-t4 .yui-br {
	float:right;
}
.yui-bl, .yui-br {
	position:relative;
}
.yui-bl {
	width:13.8456em;
}
.yui-br {
	width:12.3077em;
}

#ft {
	background-color:#01307f;
	width:99.3%;
	height:16px;
	padding:1px 3px;
}
#ft li {
	color:#FFFFFF;
	float:left;
	width:60px;
	padding-left:10px;
	background:#01307f url("<c:url value='/images/bottom_bit.gif'/>") no-repeat center left;
}
/* ========================== menu left ========================*/
ul#left-nav, ul#left-nav > li{
z-index:989;
}
ul#left-nav, ul#left-nav ul {
background:#FFFFFF none repeat scroll 0 0;
font-size:100%;
font-weight:700;
margin:0;
padding:0;
width:90px;
}
ul#left-nav li {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
position:relative;
}
ul#left-nav li a {
color:#777777;
display:block;
padding:5px;
text-decoration:none;
}
* html ul#left-nav li {
float:left;
height:1%;
}
* html ul#left-nav li a {
height:1%;
}
ul#left-nav ul {
display:none;
left:89px;
position:absolute;
top:0;
}
ul#left-nav li ul li a {
padding:2px 5px;
}
ul#left-nav li:hover ul ul, ul#left-nav li:hover ul ul ul, ul#left-nav li.over ul ul, ul#left-nav li.over ul ul ul {
display:none;
}
ul#left-nav li:hover ul, ul#left-nav li li:hover ul, ul#left-nav li li li:hover ul, ul#left-nav li.over ul, ul#left-nav li li.over ul, ul#left-nav li li li.over ul {
display:block;
}
ul#left-nav li.menubar {
background:transparent url("<c:url value='/images/arrow.gif'/>") no-repeat scroll right center;
}
ul#left-nav li:hover, ul#left-nav li.over {
background-color:#F9F9F9;
}
ul#left-nav li a:hover {
color:#E2144A;
}

/* ========================== menu right ========================*/
ul#right-nav, ul#right-nav ul {
background:#FFFFFF none repeat scroll 0 0;
font-size:100%;
margin:0;
padding:0;
width:150px;
}
ul#right-nav li {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
position:relative;
}
ul#right-nav li a {
color:#777777;
display:block;
padding:5px;
text-decoration:none;
}
* html ul#right-nav li {
float:right;
height:1%;
}
* html ul#right-nav li a {
height:1%;
}
ul#right-nav ul {
display:none;
right:149px;
position:absolute;
top:0;
}
ul#right-nav li ul li a {
padding:2px 5px;
}
ul#right-nav li:hover ul ul, ul#right-nav li:hover ul ul ul, ul#right-nav li.over ul ul, ul#right-nav li.over ul ul ul {
display:none;
}
ul#right-nav li:hover ul, ul#right-nav li li:hover ul, ul#right-nav li li li:hover ul, ul#right-nav li.over ul, ul#right-nav li li.over ul, ul#right-nav li li li.over ul {
display:block;
}
ul#right-nav li.menubar {
background:transparent url("<c:url value='/images/arrow.gif'/>") no-repeat scroll right center;
}
ul#right-nav li:hover, ul#right-nav li.over {
background-color:#ffcc99;
}
ul#right-nav li a:hover {
color:#000;
}
		</style>
		<decorator:head />
	</head>
	<body>
		<div id="doc3" class="yui-t4">
			<div id="bd">
				<div class="yui-bl">
					<div id="leftLogo" style="width:165px;height:75px;background:url(<c:url value='/images/logo.gif'/>) no-repeat -35px 0; ">
					</div>
					<!-- ============================ left menu ============================================= -->
					<menu:useMenuDisplayer name="Velocity" config="/decorators/menu-list.vm" repository="repository" permissions="rolesAdapter" bundle="org.apache.struts.action.MESSAGE">
						<ul id="left-nav" class="menuList">
							<menu:displayMenu name="root" />
						</ul>
					</menu:useMenuDisplayer>
				</div>
				<div id="yui-main">
					<div class="yui-b">
						<div class="yui-g">
							<div style="background:#0099CC url(<c:url value='/images/car.jpg'/>) right no-repeat;width:100%;height:65px;">
								<h3 style="padding-top:35px;padding-left:3px;font-weight:700;color:#FFFFFF;">
									<decorator:title default="VW经销商广域网" />
								</h3>
							</div>
							<br />
							<br />
							<div style="background:#0099CC;width:100%;">
								<h3 style="padding:3px 5px;font-weight:700;color:#FFFFFF;">
									<decorator:title default="VW经销商广域网" />
								</h3>
							</div>
							<br />
							<%@ include file="/common/messages.jsp"%>
							<!-- ============================ main body ============================== -->
							<decorator:body />
						</div>
					</div>
				</div>
				<div class="yui-br" style="background:#EBEBEB">
					<div style="width:100%;height:95px;text-align:right;">
						<h3 style="padding:3px 5px;">
						<logic:empty name="ACEGI_SECURITY_CONTEXT" scope="session">
							<a href="<c:url value='/login.jsp'/>">登录</a>
						</logic:empty>
						<logic:notEmpty name="ACEGI_SECURITY_CONTEXT" scope="session">
							<%=com.guinea.core.utils.CommonUtils.getCurrentUser(pageContext).getOtherName()%>, 欢迎您！<a href="<c:url value='/j_acegi_logout' />">退出</a>
						</logic:notEmpty>
						</h3>
					</div>
					<div style="width:100%;background:#0099CC;">
						<h3 style="padding:3px 5px;font-weight:700;color:#FFFFFF;">
							<menu:useMenuDisplayer name="Velocity" config="/decorators/menu-title.vm" repository="repository" permissions="rolesAdapter" bundle="org.apache.struts.action.MESSAGE">
							<menu:displayMenu name="${moduleName}" />
							</menu:useMenuDisplayer>
						</h3>
					</div>
					<!-- ============================ right menu ============================================= -->
					<menu:useMenuDisplayer name="Velocity" config="/decorators/menu-list.vm" repository="repository" permissions="rolesAdapter" bundle="org.apache.struts.action.MESSAGE">
					<ul id="right-nav" class="menuList">
						<menu:displayMenu name="${moduleName}" />
					</ul>
					</menu:useMenuDisplayer>
				</div>
			</div>
			<div id="ft">
				<!-- ============================ Footer ============================================= -->
				<ul>
					<li>
						&#39318;&#39029;
					</li>
					<li>
						&#32852;&#31995;&#25105;&#20204;
					</li>
					<li>
						&#27880;&#38144;
					</li>
					<li>
						&#20462;&#25913;&#23494;&#30721;
					</li>
				</ul>
			</div>
		</div>
	</body>
</html>
